.container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  position: relative;

  .left {
    width: 3.625rem;
    height: 100%;
    overflow: auto;
    background-color: #4fa388;
    position: relative;
  }

  .middle {
    width: 3.625rem;
    height: 100%;
    overflow: auto;
    background-color: #eaeaea;
  }

  .right {
    flex: 1;
    height: 100%;
    overflow: auto;
    background-color: #fff;
  }
}

// 左边
.left {
  padding: 0.45rem 0;

  .item {
    width: 100%;
    height: 0.9125rem;
    line-height: 0.9125rem;
    text-align: center;
    font-size: 0.25rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;

    &.selected {
      background-color: #30866a;
    }

    &.padding2em {
      letter-spacing: 2em;
      text-indent: 2em;
    }
  }

  .btn_box {
    position: absolute;
    bottom: 0.5rem;
    width: 100%;
    text-align: center;

    button {
      width: 1.2125rem;
      height: 0.5rem;
      outline: none;
      background-color: #4fa388;
      border: 2px solid #fff;
      border-radius: 0.0625rem;
      margin: 0 0.125rem;
      color: #fff;
      font-size: 0.2rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: #ffffff;

      &:active {
        box-shadow: 0px 0px 15px #30866a;
      }
    }
  }
}

// 中间
.middle {
  height: 100%;
  overflow: hidden;

  .up_box,
  .down_box {
    width: 100%;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;

    .btn {
      width: 0.625rem;
      height: 0.575rem;
      background: #ffffff;
      box-shadow: 0px 0px 6px 0px rgba(11, 3, 6, 0.27);
      border-radius: 0.2875rem;
      margin-bottom: 0.175rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .middle_box {
    width: 100%;
    height: calc(100% - 1.25rem - 1.25rem);
    overflow: auto;

    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.middle .middle_group_box {
  .item {
    width: 100%;
    height: 0.9125rem;
    font-size: 0.25rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #717171;
    text-align: center;
    line-height: 0.9125rem;
    cursor: pointer;

    &.selected {
      color: #4fa388;
    }
  }
}

.middle .middle_goods_box {
  .item {
    width: 100%;
    font-size: 0.25rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #717171;
    text-align: center;
    margin-bottom: 0.25rem;
    cursor: pointer;

    h4 {
      font-size: 0.25rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: #767676;
      padding-bottom: 0.1875rem;

      &.selected {
        color: #4fa388;
      }
    }
  }

  .second_category {
    div {
      width: 100%;
      background-color: #fff;
    }

    li {
      width: 100%;
      height: 0.475rem;
      font-size: 0.225rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: #767676;
      text-align: center;
      line-height: 0.475rem;

      &.selected {
        background-color: #4fa388;
        color: #fff;
      }
    }
  }
}

/* 右边---开始 */
.right {
  padding: 0.25rem 0.625rem;
}

// 商品
.right .goods_data {
  .right_header {
    position: relative;

    /deep/ .el-checkbox__inner {
      width: 22px;
      height: 22px;

      &::after {
        height: 13px;
        left: 7px;
      }
    }

    /deep/ .el-checkbox__label {
      font-size: 18px;
      font-family: PingFang SC;
      font-weight: 400;
      color: #767676;
      vertical-align: middle;
    }
  }

  .right_main {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 0.4375rem;

    .item {
      width: 1.8125rem;
      height: 0.7rem;
      line-height: 0.7rem;
      text-align: center;
      background: #fff;
      box-shadow: 0px 0px 10px 0px rgba(11, 3, 6, 0.16);
      border-radius: 0.2375rem;
      font-size: 0.25rem;
      font-family: PingFang SC;
      font-weight: 400;
      color: #767676;
      cursor: pointer;
      margin-right: 0.5rem;
      margin-bottom: 0.25rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;

      &.selected {
        background-color: #4fa388;
        color: #fff;
      }
    }
  }
}

// 暂无数据
.no_data {
  text-align: center;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;

  .el-icon-warning-outline {
    font-size: 0.45rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #303030;
    line-height: 0.475rem;
  }

  p {
    font-size: 0.25rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #303030;
    line-height: 0.475rem;
  }
}

// 是否选择框
.right .select {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  .select_box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .item {
    width: 3.75rem;
    height: 1.45rem;
    margin-bottom: 0.375rem;
    line-height: 1.45rem;
    text-align: center;
    background: #fff;
    box-shadow: 0px 0px 10px 0px rgba(11, 3, 6, 0.16);
    border-radius: 15px;
    font-size: 0.375rem;
    font-family: PingFang SC;
    font-weight: 400;
    color: #767676;
    cursor: pointer;

    &.selected {
      background-color: #4fa388;
      color: #fff;
    }
  }
}

/* 右边---结束 */

/* 返回按钮，上下按钮固定定位----开始 */
.back {
  position: fixed;
  top: 0.25rem;
  right: 0.25rem;
  width: 40px;
  height: 40px;
  background: rgba(48, 134, 106, 0.6);
  text-align: center;
  line-height: 45px;
  box-shadow: 0px 0px 7px 0px rgba(11, 3, 6, 0.5);
  border-radius: 50%;

  .el-icon-close {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
  }
}

.right_fixed {
  position: fixed;
  bottom: 0.75rem;
  right: 0.625rem;
  width: 0.625rem;
  display: flex;
  flex-direction: column;

  .item {
    width: 0.9375rem;
    height: 0.8rem;
    background: #ffffff;
    box-shadow: 0px 0px 6px 0px rgba(11, 3, 6, 0.27);
    border-radius: 0.2875rem;
    margin-bottom: 0.175rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 返回按钮，上下按钮固定定位 ----结束*/